<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s"  uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>普度成长网-登录</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<%=basePath %>front/preSchool/style/css/css1.css" type="text/css" />

<script type="text/javascript">

	//Login CheckForm
	function login()
	{
		var username=document.getElementById("username").value;
		var password=document.getElementById("password").value;
		if(username==null||username.length<4)
		{
			alert("用户名不得为空或小于四位！");
			return false;
		}else if(password==''||password.length<6)
		{
			alert("密码不得小于六位或为空！");
			return false;
		}else 
		{
			window.location.href="front/userlogin.action?customer.cust_id="+username+"&customer.cust_pwd="+password;
		}	
	}

</script>
</head>
<body>
	<div class="hometop">
		<div class="homelogo"><a href="<%=basePath%>index.jsp">
			<img src="<%=basePath %>front/preSchool/style/image/puduhome_01.gif" width="186" height="72" /></a>
		</div>
		<div class="hometopr">
			<div class="hometopr1">
				<ul>
					<li><a href="#">收藏本站</a> |</li>
					<li><a href="#">设为主页</a>|</li> 
					<li><a href="#">帮助中心</a></li>
				</ul>
			</div>
			<div class="hometopr2">您好！欢迎来到普度成长网</div>
			<div class="hometopr3"></div>
		</div>
		<div class="clear"></div>
	</div>
	<div style="margin: 0 auto; width: 1002px; padding-top: 60px;">
		<div class="land">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr height="">
					<td width="71" height="44"
						style="width: 71px; color: #000000; font-size: 14px;"><span
						style="visibility: hidden;">空</span>账户名：</td>
					<td width="217"><input type="text"  name="username" id="username"  class="inputbox1" value=""/></td>
					<td width="62" style="font-size: 10px; color: #000000;">
					<input name=""  type="checkbox" value="" />记住我</td>
				</tr>
				<tr>
					<td height="44"
						style="width: 71px; color: #000000; font-size: 14px;">登录密码：</td>
					<td><input type="password"  id="password" name="password" class="inputbox1" /></td>
					<td style="color: #000000; font-size: 10px;" class="font9"><span
						style="visibility: hidden;">空</span>忘记密码</td>
				</tr>
				<tr>
					<td>&nbsp;<label><s:property value="msg" escape="false"/></label></td>
					<td height="44" valign="bottom"><input type="button" onclick="login()" style="background: url(<%=basePath %>front/preSchool/style/image/landed_03.gif) no-repeat; width: 94px; height: 32px; border: none;"/>
						<span class="font10"><span style="visibility: hidden;">空</span><a
							href="#">注册帐号</a></span></td>
					<td>&nbsp;</td>
				</tr>
			</table>
			
		</div>
		<div class="greenline"></div>
		<div class="landph"></div>
		<div class="clear"></div>
	</div>

	<div class="information" style="margin-top: 90px;">
		<div style="width: 966px; margin: 0 auto;">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="63%">copright<span style="visibility: hidden;">中</span>
						2012All<span style="visibility: hidden;">中</span>
						版权所有：武汉普度教育科技有限公司
					</td>
					<td width="37%" class="information2"><ul>
							<li><a href="#">关于普度</a></li>
							<li><a href="#">用户隐私</a></li>
							<li><a href="#">信息反馈</a></li>
							<li><a href="#">友情链接</a></li>
							<li><a href="#">普度广告</a></li>
							<li><a href="#">机构合作</a></li>
						</ul></td>
				</tr>
			</table>
		</div>
	</div>
</body>
</html>